package com.belizer.demo.toString;

public class Parent {
    @Override
    public String toString() {
        return "Parent{" +
                "name='" + name + '\'' +
                '}';
    }

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
